package priv.hehe.entry;



/*+--------+---------------+------+-----+---------+----------------+
| Field  | Type          | Null | Key | Default | Extra          |
+--------+---------------+------+-----+---------+----------------+
| e_id   | int(11)       | NO   | PRI | NULL    | auto_increment |
| e_name | varchar(200)  | YES  |     | NULL    |                |
| salary | decimal(10,0) | YES  |     | NULL    |                |
| l_id   | int(11)       | NO   |     | NULL    |                |
| d_id   | int(11)       | YES  | MUL | NULL    |                |
| sex    | smallint(1)   | YES  |     | NULL    |                |
| age    | smallint(3)   | YES  |     | NULL    |                |
| phone  | char(11)      | YES  |     | NULL    |                |
| pass   | char(32)      | YES  |     | NULL    |                |
+--------+---------------+------+-----+---------+----------------+*/
public class Emplooy {

	private Integer eId;
	private String eName;
	private Double salary;
	private Integer lId;
	private Integer dId;
	private Integer sex;
	private Integer age;
	private String phone;
	private String pass;
	public Integer geteId() {
		return eId;
	}
	public void seteId(Integer eId) {
		this.eId = eId;
	}
	public String geteName() {
		return eName;
	}
	public void seteName(String eName) {
		this.eName = eName;
	}
	public Double getSalary() {
		return salary;
	}
	public void setSalary(Double salary) {
		this.salary = salary;
	}
	public Integer getlId() {
		return lId;
	}
	public void setlId(Integer lId) {
		this.lId = lId;
	}
	public Integer getdId() {
		return dId;
	}
	public void setdId(Integer dId) {
		this.dId = dId;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getPass() {
		return pass;
	}
	public void setPass(String pass) {
		this.pass = pass;
	}
	@Override
	public String toString() {
		return "Emplooy [eId=" + eId + ", eName=" + eName + ", salary="
				+ salary + ", lId=" + lId + ", dId=" + dId + ", sex=" + sex
				+ ", age=" + age + ", phone=" + phone + ", pass=" + pass + "]";
	}
	public Emplooy(Integer eId, String eName, Double salary, Integer lId,
			Integer dId, Integer sex, Integer age, String phone, String pass) {
		super();
		this.eId = eId;
		this.eName = eName;
		this.salary = salary;
		this.lId = lId;
		this.dId = dId;
		this.sex = sex;
		this.age = age;
		this.phone = phone;
		this.pass = pass;
	}
	public Emplooy() {
		super();
	}
	
	
}
